﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    enum RobotType
    {
        炒菜机器人,
        传菜机器人
    }
    abstract class Robot
    {
        private string name;
        public string Name { get => name; set => name = value; }

        public Robot(string name)
        {
            this.name = name;
        }
        public Robot()
        {

        }

        public abstract void working();


    }
}
